package com.ruoyi.vbze.service;

import java.util.List;
import com.ruoyi.vbze.domain.SamplePoint;

/**
 * 采样点Service接口
 * 
 * @author vbze
 * @date 2023-02-27
 */
public interface ISamplePointService 
{
    /**
     * 查询采样点
     * 
     * @param id 采样点主键
     * @return 采样点
     */
    public SamplePoint selectSamplePointById(Long id);

    /**
     * 查询采样点列表
     * 
     * @param samplePoint 采样点
     * @return 采样点集合
     */
    public List<SamplePoint> selectSamplePointList(SamplePoint samplePoint);

    /**
     * 新增采样点
     * 
     * @param samplePoint 采样点
     * @return 结果
     */
    public int insertSamplePoint(SamplePoint samplePoint);

    /**
     * 修改采样点
     * 
     * @param samplePoint 采样点
     * @return 结果
     */
    public int updateSamplePoint(SamplePoint samplePoint);

    /**
     * 批量删除采样点
     * 
     * @param ids 需要删除的采样点主键集合
     * @return 结果
     */
    public int deleteSamplePointByIds(Long[] ids);

    /**
     * 删除采样点信息
     * 
     * @param id 采样点主键
     * @return 结果
     */
    public int deleteSamplePointById(Long id);

    /**
     * 导入采样点数据
     *
     * @param samplePointList 采样点数据列表
     * @param isUpdateSupport 是否更新支持，如果已存在，则进行更新数据
     * @param operName 操作用户
     * @return 结果
     */
    public String importSamplePoint(List<SamplePoint> samplePointList, Boolean isUpdateSupport, String operName);
}
